<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
<script src="bootstrap/jquery/jquery-3.4.1.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<style>
	.table tr th{
		text-align:center;
	} 
	.table tr td {
		height:76px;
		line-height:60px;
		text-align: center;
	}
	.table tr td span{
		height:76px;
		line-height:60px
	} 
</style>

</head>
<body>
	<%@ include file="header.jsp"%>
	<div class="wrap">
	<div class="main" style="min-height:600px">
		<div class="container">
			<div class="row clearfix">
				<div class="col-md-12 column">
					<div class="pag-nav">
							<ul class="p-list" style="font-size:24px">
								<li><a href="index.jsp" >首页</a></li>
								<li class="act">|</li>
								<li> <a href="javascript:history.back(-1)" >订单页</a></li>
								<li class="act">|</li>
								<li class="act">订单详情页</li>
							</ul>
					</div>
				<div style="min-height: 420.8px;background-color: #D9EDF7"> 
					<table class="table">
						<thead>
							<tr>
								<th>子订单号</th>
								<th>图片</th>
								<th>商品名</th>
								<th>商品价格</th>
								<th>重量</th>
								<th>总价</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach items="${orderitems}" var="item">
								<tr class="info">
									<td><span class="tb_products">${item.oiid}</span></td>
									<td><img class="tb_imgs" src="${item.pimage}" width="60px"
										height="60px" alt="商品图片"></td>
									<td><span class="tb_products">${item.pname}</span></td>
									<td><span class="tb_products">${item.pprice}元/kg</span></td>
									<td><span class="tb_products">${item.weight}kg</span></td>
									<td><span class="tb_products">${item.tprice}元</span></td>
								</tr>
							</c:forEach>
						</tbody>
					</table>
				</div>
					${pageTool }
				</div>
			</div>
		</div>
		</div>
	</div>

	<%@ include file="bottom.jsp"%>
</body>
</html>